<script setup>
import { ref, inject } from 'vue'

const appName = inject("name", "默认值")
</script>
<template>
    {{appName}}
</template>